<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}">
<meta http-equiv="Cache-control" content="{if $_G['setting']['mobile'][mobilecachetime] > 0}{$_G['setting']['mobile'][mobilecachetime]}{else}no-cache{/if}" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<meta name="format-detection" content="telephone=no" />
<meta name="keywords" content="$metakeywords" />
<meta name="description" content="$metadescription" />
<title>$navtitle</title>
</head>
<link rel="stylesheet" href="source/plugin/aljbd/css/sj/base.css" />
<link href="source/plugin/aljbd/css/sj/listing.css" rel="stylesheet" type="text/css">
<script src="source/plugin/aljbd/js/jquery.js"></script>
<script type="text/javascript">
jq=jQuery.noConflict();
</script>
{template aljbd:common}
<body>
{template aljbd:header}
<article class="cmSubview cmSubviewRoot ui-subview ui-subview-root ui-subview-in">
<main style="padding:0px">
<div class="cmInfoBox" id="profile">
	<div class="photo">
		<img src="{eval echo avatar($_G['uid'],'middle',true);}">
	</div>
	<div class="info">
		<h3 class="username">$_G['username']</h3>
		<p class="mobile"></p>
		<p class="reg-date">{eval $user=getuserbyuid($_G['uid']); echo gmdate('Y-m-d',$user['regdate']+28800);} {lang aljbd:Registration}</p>
	</div>
</div>
<style type="text/css">
	.c_total_num {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dd2726;
    color: #fff;
    text-align: center;
    position: absolute;
    top: 16px;
    right: 14px;
    font-size: 8px;
    line-height: 22px;
    font-style: normal;
}
</style>
<ul class="cmList cmRightArrow">
	<li><a href="plugin.php?id=aljbd&act=member"><i class="cmIcon cmX20 my-post"></i>&#24215;&#38138;&#31649;&#29702;<span class="c_total_num">{if C::t('#aljbd#aljbd')->count_by_status(1,$_G['uid'])>99}99+{else}{eval echo C::t('#aljbd#aljbd')->count_by_status(1,$_G['uid']);}{/if}</span></a></li>
	<!--li><a href="plugin.php?id=aljbd&act=yes"><i class="cmIcon cmX20 my-post"></i>{lang aljbd:s77}<span class="c_total_num">{if C::t('#aljbd#aljbd')->count_by_status(0,$_G['uid'])>99}99+{else}{eval echo C::t('#aljbd#aljbd')->count_by_status(0,$_G['uid']);}{/if}</span></a></li-->
	{if $_G['cache']['plugin']['aljsyy'] ['is_yy']}
	<li><a href="plugin.php?id=aljsyy&act=appointment_list"><i class="cmIcon cmX20 my-post"></i>&#39044;&#32422;&#31649;&#29702;<span class="c_total_num">{if DB::result_first('select count(*) from %t where buid=%d ',array($pluginid.'_appointment',$_G['uid']))>99}99+{else}{eval echo DB::result_first('select count(*) from %t where buid=%d ',array($pluginid.'_appointment',$_G['uid']));}{/if}</span></a></li>
	{/if}
	{if file_exists('source/plugin/aljgz/aljgz.inc.php')}
	<li ><a href="plugin.php?id=aljgz&act=collection_list&frommod=aljbd"><i class="cmIcon cmX20 my-post"></i>&#25105;&#30340;&#25910;&#34255;<span class="c_total_num">{if DB::result_first('select count(*) from %t where uid=%d and frommod=%s',array('aljbd_collection',$_G['uid'],'aljbd'))>99}99+{else}{eval echo DB::result_first('select count(*) from %t where uid=%d and frommod=%s',array('aljbd_collection',$_G['uid'],'aljbd'));}{/if}</span></a></li>
	{/if}
	{if !$settings['close_goods']['value']}
	<li><a href="plugin.php?id=aljbd&act=goodslist"><i class="cmIcon cmX20 my-post"></i>{lang aljbd:s258}<span class="c_total_num">{if C::t('#aljbd#aljbd_goods')->count_by_uid_bid($_G['uid'])>99}99+{else}{eval echo C::t('#aljbd#aljbd_goods')->count_by_uid_bid($_G['uid']);}{/if}</span></a></li>
	{/if}
	<li><a href="plugin.php?id=aljbd&act=orderlist"><i class="cmIcon cmX20 my-post"></i>{lang aljbd:scc11}
	<!--{if $_G['cache']['plugin']['aljgwc'][$pluginid]}-->
		{if in_array($_G['groupid'],$admingroups)}<span class="c_total_num">{if DB::result_first('select count(*) from %t',array('aljbd_goods_order'))>99}99+{else}{eval echo DB::result_first('select count(*) from %t',array('aljbd_goods_order'));}{/if}</span>{else}<span class="c_total_num">{if DB::result_first('select count(*) from %t where uid = %d',array('aljbd_goods_order',$_G['uid']))>99}99+{else}{eval echo DB::result_first('select count(*) from %t where uid = %d',array('aljbd_goods_order',$_G['uid']));}{/if}</span>{/if}</a>
	<!--{else}-->
		{if in_array($_G['groupid'],$admingroups)}<span class="c_total_num">{if DB::result_first('select count(*) from %t',array('aljbd_order'))>99}99+{else}{eval echo DB::result_first('select count(*) from %t',array('aljbd_order'));}{/if}</span>{else}<span class="c_total_num">{if DB::result_first('select count(*) from %t where uid = %d',array('aljbd_order',$_G['uid']))>99}99+{else}{eval echo DB::result_first('select count(*) from %t where uid = %d',array('aljbd_order',$_G['uid']));}{/if}</span>{/if}</a>
	<!--{/if}-->
	</li>
	{if !DB::fetch_first('select * from %t where  identifier = %s',array('common_plugin','aljjs'))}
	<li><a href="plugin.php?id=aljbd&act=settlelist"><i class="cmIcon cmX20 my-post"></i>{lang aljbd:tg137}
	<!--{if $_G['cache']['plugin']['aljgwc'][$pluginid]}-->
		{if in_array($_G['groupid'],$admingroups)}<span class="c_total_num">{if DB::result_first('select count(*) from %t',array('aljbd_goods_settle'))>99}99+{else}{eval echo DB::result_first('select count(*) from %t',array('aljbd_goods_settle'));}{/if}</span>{else}<span class="c_total_num">{if DB::result_first('select count(*) from %t where uid = %d',array('aljbd_goods_settle',$_G['uid']))>99}99+{else}{eval echo DB::result_first('select count(*) from %t where uid = %d',array('aljbd_goods_settle',$_G['uid']));}{/if}</span>{/if}
	<!--{else}-->
		{if in_array($_G['groupid'],$admingroups)}<span class="c_total_num">{if DB::result_first('select count(*) from %t',array('aljbd_settle'))>99}99+{else}{eval echo DB::result_first('select count(*) from %t',array('aljbd_settle'));}{/if}</span>{else}<span class="c_total_num">{if DB::result_first('select count(*) from %t where uid = %d',array('aljbd_settle',$_G['uid']))>99}99+{else}{eval echo DB::result_first('select count(*) from %t where uid = %d',array('aljbd_settle',$_G['uid']));}{/if}</span>{/if}
	<!--{/if}-->
	</a></li>
	{/if}
	{if !$settings['close_notice']['value']}
	<li><a href="plugin.php?id=aljbd&act=noticelist"><i class="cmIcon cmX20 my-post"></i>{lang aljbd:mnav_1}<span class="c_total_num">{if C::t('#aljbd#aljbd_notice')->count_by_uid_bid($_G['uid'])>99}99+{else}{eval echo C::t('#aljbd#aljbd_notice')->count_by_uid_bid($_G['uid']);}{/if}</span></a></li>
	{/if}
	{if !$settings['close_consume']['value']}
	<li><a href="plugin.php?id=aljbd&act=consumelist"><i class="cmIcon cmX20 my-post"></i>{lang aljbd:mnav_3}<span class="c_total_num">{if C::t('#aljbd#aljbd_consume')->count_by_uid_bid($_G['uid'])>99}99+{else}{eval echo C::t('#aljbd#aljbd_consume')->count_by_uid_bid($_G['uid']);}{/if}</span></a></li>
	{/if}
	{if $_G['cache']['plugin']['aljgwc'][$pluginid]}
	<li ><a href="plugin.php?id=aljgwc&act=addresslist"><i class="cmIcon cmX20 my-post"></i>&#25910;&#36135;&#22320;&#22336;&#31649;&#29702;<span class="c_total_num">{if DB::result_first('select count(*) from %t where uid = %d',array('aljbd_address',$_G['uid']))>99}99+{else}{eval echo DB::result_first('select count(*) from %t where uid = %d',array('aljbd_address',$_G['uid']));}{/if}</span></a></li>
	{/if}
	<li ><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}&mobile=2"><i class="cmIcon cmX20 my-post"></i>$aljbdlang['template']['Exit_login']</a></li>
</ul>



</main>
{template aljbd:footer}
</article>

</body>
</html>